﻿using DCIMAP.GANS.GeneticAlgorithms.Kit;
using DCIMAP.GANS.GeneticAlgorithms.Legacy;



[System.Serializable]
public class IQMutator : ArrayMutator
{
    /// <summary>
    /// Mutates gene
    /// </summary>
    public override object Mutate(ArrayGene gene, int position)
    {
        return ((string)gene.Code.GetValue(position))=="1"?"0":"1";
    }
}